package com.boot.mapper;

import com.boot.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Mapper:让SpringBoot自动扫描识别到它
@Mapper
public interface UserMapper {

    List<User> select01(@Param("userName")String userName);

    List<User> select02(@Param("userName")String userName);

    List<User> select03(@Param("userName")String userName);

    List<User> select04(@Param("userName")String userName);


    List<User> select05();

    List<User> select06(@Param("userName")String userName,
                        @Param("password")String password);

    void update01(User user);

}
